<html>
<head>
<link rel="stylesheet" type="text/css" href="../addons/cjwy_zhongqiu/template/mobile/images/css/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title>{$list['ptitle']}</title>
{php echo register_jssdk(false); }
</head>

<style>
.vgy_user .info2 {
    display: block;
    padding: 0 0 0 0;
    background: url("../attachment/{$list['pheadpic']}") repeat-y;
    background-size: cover
}
</style>

<body>
<div class="vgy_user">
  <div class="info2" style="padding-top: 40px"> <a href="javascript:history.go(-1);">
    <div class="update back"><img src="../addons/cjwy_zhongqiu/template/mobile/images/img/back_01.png"></div>
    </a> <img class="touxiang" src="{$myscore['user_info']['avatar']}">
    <p class="name">{$myscore['user_info']['nickname']}</p>
    <!-- <a href="http://www.meihua.com/index.php?m=Game&c=start&a=myrecord&start=true&id=86&fans_id=124624&uid=1&ugameid=3809" class="tx">我的记录</a> -->
    <ul>
      <li><span>{$myscore['max_score']}</span>
        <p>最高记录</p>
      </li>
      <li><span>{php echo intval($rank['rank'])+1; }</span>
        <p>排行</p>
      </li>
    </ul>
    <div class="Ranking">
      <div class="left">参与人数：{$count['count']}人</div>
    </div>
  </div>
</div>
<div class="list">
  <ul id="rank_list">
    {loop $scores $k $row}
    <li>
      <div class="NO">{php echo intval($k)+1; }</div>
      <div class="Head"> <img src="{$row['avatar']}" width="100%"> </div>
      <div class="text">
        <div class="his">
          <h1>{$row['nickname']}</h1>
          <h2></h2>
        </div>
        <div class="gift">
          <p>{$row['max_score']}<span>分</span></p>
        </div>
      </div>
    </li>
    {/loop}

      </ul>
  <ul id="more_ul">

  </ul>
</div>
<script>
  wx.ready(function () {
    sharedata = {
      title: "{php echo $list['psharetitle']; }",
      desc: "{php echo $list['psharedesc']; }",
      link: "{php $this->createMobileUrl('index'); }",
      imgUrl: "{php echo tomedia($list['psharepic']); }",
      success: function(){
        // alert('success');
      },
      cancel: function(){
        // alert('cancel');
      }
    };
    wx.onMenuShareAppMessage(sharedata);
    wx.onMenuShareTimeline(sharedata);
    wx.onMenuShareQQ(sharedata);
  });
</script>
</body>
</html>